package mipo.top.kaoshi.service.impl;

import mipo.top.base.service.impl.BaseServiceimpl;
import mipo.top.kaoshi.domain.DictionaryDetail;
import mipo.top.kaoshi.mapper.DictionaryDetailMapper;
import mipo.top.kaoshi.service.IDictionaryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictionaryDetailServiceimpl extends BaseServiceimpl<DictionaryDetail> implements IDictionaryDetailService {
    @Autowired
    private DictionaryDetailMapper dictionaryDetailMapper;
    @Override
    public List<DictionaryDetail> findTypesId(Long id) {
        return dictionaryDetailMapper.findTypesId(id);
    }

    @Override
    public void deleteTypes(Long id) {
        dictionaryDetailMapper.deleteTypes(id);
    }

    @Override
    public void patchremoveType(List<Long> ids) {
        dictionaryDetailMapper.patchremoveType(ids);
    }
}
